Optimal. Leaf size=26 \[ -\frac{\log \left (\cos \left (a d+b d \log \left (c x^n\right )\right )\right )}{b d n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0181544, antiderivative size = 26, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.059, Rules used = {3475} \[ -\frac{\log \left (\cos \left (a d+b d \log \left (c x^n\right )\right )\right )}{b d n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3475
Rubi steps
\begin{align*} \int \frac{\tan \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx &=\frac{\operatorname{Subst}\left (\int \tan (d (a+b x)) \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=-\frac{\log \left (\cos \left (a d+b d \log \left (c x^n\right )\right )\right )}{b d n}\\ \end{align*}
Mathematica [A] time = 0.0467243, size = 25, normalized size = 0.96 \[ -\frac{\log \left (\cos \left (d \left (a+b \log \left (c x^n\right )\right )\right )\right )}{b d n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.014, size = 30, normalized size = 1.2 \begin{align*}{\frac{\ln \left ( 1+ \left ( \tan \left ( d \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) \right ) \right ) ^{2} \right ) }{2\,bdn}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.990878, size = 32, normalized size = 1.23 \begin{align*} \frac{\log \left (\sec \left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )\right )}{b d n} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.493028, size = 97, normalized size = 3.73 \begin{align*} -\frac{\log \left (\frac{1}{2} \, \cos \left (2 \, b d n \log \left (x\right ) + 2 \, b d \log \left (c\right ) + 2 \, a d\right ) + \frac{1}{2}\right )}{2 \, b d n} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 10.9052, size = 44, normalized size = 1.69 \begin{align*} \begin{cases} \log{\left (x \right )} \tan{\left (a d \right )} & \text{for}\: b = 0 \\0 & \text{for}\: d = 0 \\\log{\left (x \right )} \tan{\left (a d + b d \log{\left (c \right )} \right )} & \text{for}\: n = 0 \\- \frac{\log{\left (\cos{\left (a d + b d \log{\left (c x^{n} \right )} \right )} \right )}}{b d n} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]